Import('RTT_ROOT')
Import('rtconfig')

from building import *

cwd = GetCurrentDir()

# add the general drivers.

src = Split("""
drv_common.c
""")

# add key driver code
if GetDepend('BSP_USING_GPIO'):
    src += ['drv_gpio.c']

path =  [cwd]

group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)

Return('group')
